{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "13a8c30d",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "周六、周日\n",
      "relax！！！\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "if week_time==1:\n",
    "    print(\"3-4 python语言\");print(\"12-13 大学英语（4）阅读课\")\n",
    "elif week_time==2:\n",
    "    print(\"4-5 传统体育养生\");print(\"8-9 网站运营与管理\")\n",
    "elif week_time==3:\n",
    "    print(\"1-2 毛概（实践）\");print(\"4-5 大学英语（4）听说课\")\n",
    "elif week_time==4:\n",
    "    print(\"没有课的一天（nice）\")\n",
    "elif week_time==5:\n",
    "    print(\"1-2 illustrator软件应用\");print(\"3-5 创业基础\");print(\"8-10 毛概（概论）\");print(\"  so tired！！！  \");\n",
    "else:\n",
    "    print(\"周六、周日\");print(\"relax！！！\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "cb069c65",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "______________________________________________________________________________________________________________\n",
      "      时 间       ｜     星期一      |      星期二      |      星期三      |      星期四      |    星期五     |\n",
      "______________________________________________________________________________________________________________\n",
      "      第一节      ｜                 |                  |     毛概（实践      |                  |    AI软件应用     |\n",
      "                  ｜                 |                  |      张锦标      |                  |      阚凤霞      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第二节      ｜                 |                  |     毛概（实践）     |                  |    AI软件应用     |\n",
      "                  ｜                 |                  |      张锦标      |                  |      阚凤霞      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第三节      ｜    Python语言     |                  |              |                |   创业基础（实践）    |\n",
      "                  ｜       许智超       |                  |                |               |      张保磊      |\n",
      "______________________________________________________________________________________________________________\n",
      "      第四节      ｜    Python语言     |    传统体育养生    |    大英（三）     |                | 创业基础（实践）  |\n",
      "                  ｜       许智超       |      牛晓梅      |       倪琪       |               |    张保磊     |\n",
      "______________________________________________________________________________________________________________\n",
      "      第五节      ｜    Python语言     |    传统体育养生    |    大英（三）     |                | 创业基础（实践）  |\n",
      "                  ｜       许智超       |      牛晓梅      |       倪琪       |               |    张保磊     |\n",
      "______________________________________________________________________________________________________________\n",
      "      第六节      ｜    写作训练     |                  |                  |                  |               |\n",
      "                  ｜                 |                  |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      第七节      ｜    写作训练     |                  |                  |                  |               |\n",
      "                  ｜                 |                  |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      第八节      ｜         |  网站运营与管理  |                  |              |     毛概理论      |\n",
      "                  ｜               |      胡美香      |                  |               |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      第九节      ｜         |  网站运营与管理  |                  |              |     毛概理论      |\n",
      "                  ｜               |      胡美香      |                  |               |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      第十节      ｜         |  网站运营与管理  |                  |                  |     毛概理论      |\n",
      "                  ｜               |      胡美香      |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      十一节      ｜                 |                  |                  |                  |               |\n",
      "                  ｜                 |                  |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      十二节      ｜      大英（三）      |              |                  |                  |               |\n",
      "                  ｜       倪琪        |               |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      十三节      ｜      大英（三）      |              |                  |                  |               |\n",
      "                  ｜       倪琪        |               |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      十四节      ｜                 |                  |                  |                  |               |\n",
      "                  ｜                 |                  |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n",
      "      十五节      ｜                 |                  |                  |                  |               |\n",
      "                  ｜                 |                  |                  |                  |               |\n",
      "______________________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "print(\"_\"*110)\n",
    "print(\"{:^16}｜{:^14}|{:^15}|{:^15}|{:^15}|{:^12}|\".format(\"时 间\",\"星期一\",\"星期二\",\"星期三\",\"星期四\",\"星期五\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^18}|{:^16}|{:^18}|{:^15}|\"\n",
    "      .format(\"第一节\",\"\",\"\",\"毛概（实践\",\"\",\"AI软件应用\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^15}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"张锦标\",\"\",\"阚凤霞\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^18}|{:^16}|{:^18}|{:^15}|\"\n",
    "      .format(\"第二节\",\"\",\"\",\"毛概（实践）\",\"\",\"AI软件应用\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^15}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"张锦标\",\"\",\"阚凤霞\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^18}|{:^14}|{:^16}|{:^15}|\"\n",
    "      .format(\"第三节\",\"Python语言\",\"\",\"\",\"\",\"创业基础（实践）\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^16}|{:^15}|{:^15}|\"\n",
    "      .format(\"\",\"许智超\",\"\",\"\",\"\",\"张保磊\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^14}|{:^14}|{:^16}|{:^11}|\"\n",
    "      .format(\"第四节\",\"Python语言\",\"传统体育养生\",\"大英（三）\",\"\",\"创业基础（实践）\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^15}|{:^16}|{:^15}|{:^12}|\"\n",
    "      .format(\"\",\"许智超\",\"牛晓梅\",\"倪琪\",\"\",\"张保磊\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^14}|{:^14}|{:^16}|{:^11}|\"\n",
    "      .format(\"第五节\",\"Python语言\",\"传统体育养生\",\"大英（三）\",\"\",\"创业基础（实践）\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^15}|{:^16}|{:^15}|{:^12}|\"\n",
    "      .format(\"\",\"许智超\",\"牛晓梅\",\"倪琪\",\"\",\"张保磊\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^13}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"第六节\",\"写作训练\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^13}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"第七节\",\"写作训练\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^9}|{:^11}|{:^18}|{:^14}|{:^15}|\"\n",
    "      .format(\"第八节\",\"\",\"网站运营与管理\",\"\",\"\",\"毛概理论\",\"\"))\n",
    "print(\"{:^18}｜{:^15}|{:^15}|{:^18}|{:^15}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"胡美香\",\"\",\"\",\"\",\"杨益孜\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^9}|{:^11}|{:^18}|{:^14}|{:^15}|\"\n",
    "      .format(\"第九节\",\"\",\"网站运营与管理\",\"\",\"\",\"毛概理论\",\"\"))\n",
    "print(\"{:^18}｜{:^15}|{:^15}|{:^18}|{:^15}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"胡美香\",\"\",\"\",\"\",\"杨益孜\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^9}|{:^11}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"第十节\",\"\",\"网站运营与管理\",\"\",\"\",\"毛概理论\",\"\"))\n",
    "print(\"{:^18}｜{:^15}|{:^15}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"胡美香\",\"\",\"\",\"\",\"杨益孜\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"十一节\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^14}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"十二节\",\"大英（三）\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^15}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"倪琪\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^14}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"十三节\",\"大英（三）\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^15}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"倪琪\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"十四节\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)\n",
    "print(\"{:^15}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"十五节\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"{:^18}｜{:^17}|{:^18}|{:^18}|{:^18}|{:^15}|\"\n",
    "      .format(\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"))\n",
    "print(\"_\"*110)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "33543000",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
